package com.dongdongkeji.wangwangsocial.data.dto;

import com.dongdongkeji.base.interfaces.Mapper;
import com.dongdongkeji.wangwangsocial.data.model.Account;

/**
 * Author: ChenJing
 * Date: 2017-06-20 下午 3:27
 * Version: 1.0
 */

public class AccountDTO implements Mapper<Account> {

    private String rongYunToken;

    public String getRongYunToken() {
        return rongYunToken;
    }

    public void setRongYunToken(String rongYunToken) {
        this.rongYunToken = rongYunToken;
    }

    @Override
    public Account transform() {
        Account account = new Account();
        account.setIMToken(rongYunToken);
        return account;
    }
}